/*
 * TranslateRecessionRateKernel.C
 *
 *  Created on: Jan 17, 2020
 *      Author: liuxiao
 */

#include "TranslateRecessionRateKernel.h"
registerMooseObject("TrilobitaApp", TranslateRecessionRateKernel);
template<>
InputParameters validParams<TranslateRecessionRateKernel>()
{
  InputParameters params = validParams<Kernel>();
  params.addClassDescription("Translate Recession rate");
  return params;
}

TranslateRecessionRateKernel::TranslateRecessionRateKernel(const InputParameters & parameters) :
	Kernel(parameters),
	 _recession_rate(getMaterialProperty<Real>("recession_rate"))
{

}

Real TranslateRecessionRateKernel::computeQpResidual()
{


	return _test[_i][_qp]*(_u[_qp]- _recession_rate[_qp]);

}








